home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / phase5 / ppcrelease / examples / msg4ppc.elf.dump < prev    next >
Text File  |  1998-02-21  |  7KB  |  187 lines

  1.  
  2. Msg4PPC.elf:     file format elf32-powerpc
  3. Msg4PPC.elf
  4. architecture: powerpc:common, flags 0x00000011:
  5. HAS_RELOC, HAS_SYMS
  6. start address 0x00000000
  7.  
  8. Sections:
  9. Idx Name          Size      VMA       LMA       File off  Algn
  10.   0 .text         000001b4  00000000  00000000  00000034  2**2
  11.                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  12.   1 .rodata       0000001c  00000000  00000000  000001e8  2**2
  13.                   CONTENTS, ALLOC, LOAD, READONLY, DATA
  14.   2 .data         00000000  00000000  00000000  00000204  2**0
  15.                   CONTENTS, ALLOC, LOAD, DATA
  16.   3 .bss          00000000  00000000  00000000  00000204  2**0
  17.                   ALLOC
  18.   4 .comment      00000014  00000000  00000000  00000204  2**0
  19.                   CONTENTS, READONLY
  20. SYMBOL TABLE:
  21. 00000000 l    d  .text    00000000 
  22. 00000000 l    d  *ABS*    00000000 
  23. 00000000 l    d  .rodata    00000000 
  24. 00000000 l    d  .data    00000000 
  25. 00000000 l    d  .bss    00000000 
  26. 00000000 l    d  .comment    00000000 
  27. 00000000 l    d  *ABS*    00000000 
  28. 00000000 l    d  *ABS*    00000000 
  29. 00000000 l    d  *ABS*    00000000 
  30. 00000000 l    df *ABS*    00000000 Msg4PPC.c
  31. 00000000 l     O .text    00000000 gcc2_compiled.
  32. 00000158 g     F .text    0000005c printf
  33. 00000000         *UND*    00000000 PPCGetMessage
  34. 00000000         *UND*    00000000 PPCCreatePort
  35. 00000000         *UND*    00000000 PPCDeleteMessage
  36. 00000000         *UND*    00000000 PPCWaitPort
  37. 00000000         *UND*    00000000 PPCAllocVec
  38. 00000000         *UND*    00000000 PPCFreeVec
  39. 00000004 g     F .text    00000150 main
  40. 00000000         *UND*    00000000 PPCDeletePort
  41. 00000004       O *COM*    00000004 MyFile
  42. 00000000         *UND*    00000000 PPCSendMessage
  43. 00000000         *UND*    00000000 PPCCreateMessage
  44. 00000000         *UND*    00000000 strlen
  45. 00000000         *UND*    00000000 PPCGetTaskAttr
  46. 00000000         *UND*    00000000 PPCWrite
  47.  
  48.  
  49. Disassembly of section .text:
  50. 00000000 <gcc2_compiled.> .long 0x406c
  51. main():
  52. 00000004 <main> stwu    r1,-112(r1)
  53. 00000008 <main+4> mflr    r0
  54. 0000000c <main+8> stw    r26,88(r1)
  55. 00000010 <main+c> stw    r27,92(r1)
  56. 00000014 <main+10> stw    r28,96(r1)
  57. 00000018 <main+14> stw    r29,100(r1)
  58. 0000001c <main+18> stw    r30,104(r1)
  59. 00000020 <main+1c> stw    r31,108(r1)
  60. 00000024 <main+20> stw    r0,116(r1)
  61. 00000028 <main+24> lis    r3,-32766
  62. 0000002c <main+28> ori    r3,r3,22
  63. 00000030 <main+2c> bl    00000030 <main+2c>
  64.         RELOC: 00000030 R_PPC_REL24 PPCGetTaskAttr
  65. 00000034 <main+30> lwz    r26,0(r3)
  66. 00000038 <main+34> cmpwi    cr1,r26,0
  67. 0000003c <main+38> lwz    r27,4(r3)
  68. 00000040 <main+3c> beq    cr1,0000012c <main+128>
  69. 00000044 <main+40> li    r3,28
  70. 00000048 <main+44> li    r4,1
  71. 0000004c <main+48> bl    0000004c <main+48>
  72.         RELOC: 0000004c R_PPC_REL24 PPCAllocVec
  73. 00000050 <main+4c> mr.    r30,r3
  74. 00000054 <main+50> beq    0000012c <main+128>
  75. 00000058 <main+54> li    r0,0
  76. 0000005c <main+58> stw    r0,8(r1)
  77. 00000060 <main+5c> addi    r3,r1,8
  78. 00000064 <main+60> bl    00000064 <main+60>
  79.         RELOC: 00000064 R_PPC_REL24 PPCCreatePort
  80. 00000068 <main+64> mr.    r29,r3
  81. 0000006c <main+68> beq    00000124 <main+120>
  82. 00000070 <main+6c> mr    r3,r29
  83. 00000074 <main+70> li    r4,28
  84. 00000078 <main+74> bl    00000078 <main+74>
  85.         RELOC: 00000078 R_PPC_REL24 PPCCreateMessage
  86. 0000007c <main+78> mr.    r28,r3
  87. 00000080 <main+7c> beq    00000110 <main+10c>
  88. 00000084 <main+80> li    r31,0
  89. 00000088 <main+84> lis    r9,0
  90.         RELOC: 0000008a R_PPC_ADDR16_HA .rodata
  91. 0000008c <main+88> addi    r11,r9,0
  92.         RELOC: 0000008e R_PPC_ADDR16_LO .rodata
  93. 00000090 <main+8c> cmplw    cr1,r31,r27
  94. 00000094 <main+90> lwz    r0,0(r9)
  95.         RELOC: 00000096 R_PPC_ADDR16_LO .rodata
  96. 00000098 <main+94> lwz    r9,4(r11)
  97. 0000009c <main+98> lwz    r10,8(r11)
  98. 000000a0 <main+9c> lwz    r8,12(r11)
  99. 000000a4 <main+a0> stw    r0,0(r30)
  100. 000000a8 <main+a4> stw    r9,4(r30)
  101. 000000ac <main+a8> stw    r10,8(r30)
  102. 000000b0 <main+ac> stw    r8,12(r30)
  103. 000000b4 <main+b0> lwz    r0,16(r11)
  104. 000000b8 <main+b4> lwz    r9,20(r11)
  105. 000000bc <main+b8> lwz    r11,24(r11)
  106. 000000c0 <main+bc> stw    r0,16(r30)
  107. 000000c4 <main+c0> stw    r9,20(r30)
  108. 000000c8 <main+c4> stw    r11,24(r30)
  109. 000000cc <main+c8> bge    cr1,00000108 <main+104>
  110. 000000d0 <main+cc> mr    r3,r26
  111. 000000d4 <main+d0> mr    r4,r28
  112. 000000d8 <main+d4> lis    r7,4660
  113. 000000dc <main+d8> ori    r7,r7,22136
  114. 000000e0 <main+dc> mr    r5,r30
  115. 000000e4 <main+e0> li    r6,28
  116. 000000e8 <main+e4> bl    000000e8 <main+e4>
  117.         RELOC: 000000e8 R_PPC_REL24 PPCSendMessage
  118. 000000ec <main+e8> mr    r3,r29
  119. 000000f0 <main+ec> bl    000000f0 <main+ec>
  120.         RELOC: 000000f0 R_PPC_REL24 PPCWaitPort
  121. 000000f4 <main+f0> mr    r3,r29
  122. 000000f8 <main+f4> bl    000000f8 <main+f4>
  123.         RELOC: 000000f8 R_PPC_REL24 PPCGetMessage
  124. 000000fc <main+f8> addi    r31,r31,1
  125. 00000100 <main+fc> cmplw    cr1,r31,r27
  126. 00000104 <main+100> blt    cr1,000000d0 <main+cc>
  127. 00000108 <main+104> mr    r3,r28
  128. 0000010c <main+108> bl    0000010c <main+108>
  129.         RELOC: 0000010c R_PPC_REL24 PPCDeleteMessage
  130. 00000110 <main+10c> mr    r3,r29
  131. 00000114 <main+110> bl    00000114 <main+110>
  132.         RELOC: 00000114 R_PPC_REL24 PPCDeletePort
  133. 00000118 <main+114> extsh    r3,r3
  134. 0000011c <main+118> cmpwi    cr1,r3,0
  135. 00000120 <main+11c> beq    cr1,00000110 <main+10c>
  136. 00000124 <main+120> mr    r3,r30
  137. 00000128 <main+124> bl    00000128 <main+124>
  138.         RELOC: 00000128 R_PPC_REL24 PPCFreeVec
  139. 0000012c <main+128> lwz    r0,116(r1)
  140. 00000130 <main+12c> mtlr    r0
  141. 00000134 <main+130> lwz    r26,88(r1)
  142. 00000138 <main+134> lwz    r27,92(r1)
  143. 0000013c <main+138> lwz    r28,96(r1)
  144. 00000140 <main+13c> lwz    r29,100(r1)
  145. 00000144 <main+140> lwz    r30,104(r1)
  146. 00000148 <main+144> lwz    r31,108(r1)
  147. 0000014c <main+148> addi    r1,r1,112
  148. 00000150 <main+14c> blr
  149. 00000154 <main+150> .long 0x404c
  150. printf():
  151. 00000158 <printf> stwu    r1,-32(r1)
  152. 0000015c <printf+4> mflr    r0
  153. 00000160 <printf+8> stw    r28,16(r1)
  154. 00000164 <printf+c> stw    r29,20(r1)
  155. 00000168 <printf+10> stw    r30,24(r1)
  156. 0000016c <printf+14> stw    r31,28(r1)
  157. 00000170 <printf+18> stw    r0,36(r1)
  158. 00000174 <printf+1c> mr    r28,r3
  159. 00000178 <printf+20> lis    r9,0
  160.         RELOC: 0000017a R_PPC_ADDR16_HA MyFile
  161. 0000017c <printf+24> lwz    r29,0(r9)
  162.         RELOC: 0000017e R_PPC_ADDR16_LO MyFile
  163. 00000180 <printf+28> bl    00000180 <printf+28>
  164.         RELOC: 00000180 R_PPC_REL24 strlen
  165. 00000184 <printf+2c> mr    r5,r3
  166. 00000188 <printf+30> mr    r4,r28
  167. 0000018c <printf+34> mr    r3,r29
  168. 00000190 <printf+38> bl    00000190 <printf+38>
  169.         RELOC: 00000190 R_PPC_REL24 PPCWrite
  170. 00000194 <printf+3c> lwz    r0,36(r1)
  171. 00000198 <printf+40> mtlr    r0
  172. 0000019c <printf+44> lwz    r28,16(r1)
  173. 000001a0 <printf+48> lwz    r29,20(r1)
  174. 000001a4 <printf+4c> lwz    r30,24(r1)
  175. 000001a8 <printf+50> lwz    r31,28(r1)
  176. 000001ac <printf+54> addi    r1,r1,32
  177. 000001b0 <printf+58> blr
  178. Disassembly of section .rodata:
  179. 00000000 <.rodata> rlwinm    r5,r3,15,1,26
  180. 00000004 <.rodata+4> subfic    r3,r19,25966
  181. 00000008 <.rodata+8> andis.    r0,r1,25209
  182. 0000000c <.rodata+c> subfic    r2,r16,20547
  183. 00000010 <.rodata+10> subfic    r3,r16,29295
  184. 00000014 <.rodata+14> ori    r5,r27,29555
  185. 00000018 <.rodata+18> xoris    r18,r27,2560
  186. Disassembly of section .data:
  187.